package day3.com;

public class Human{
	public static void main(String[] args){
		Man man = new Man();
		Glass glass = new Glass();
		Water water = man.getWater(glass);
		man.drink(water);
		
		
		man.drink(man.getWater(glass));
	}
}

class Man { 
	public Water getWater(Glass obj){
		return new Water();
	}
	public void drink(Water obj){
		
	}
}
class Glass{
}

class Water{
}

